package com.learn.bus;

import java.util.function.Consumer;

/**
 * <p>项目名称: design-pattern </p>
 *
 * <p>文件名称: Member </p>
 *
 * Members receive events from the Data-Bus.
 */
public interface Member extends Consumer<Data> {

    void accept(Data data);
}
